home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Loadstar 120
/
120.d81
/
mahjong boot
(
.txt
)
< prev
next >
Wrap
Commodore BASIC
|
2022-08-26
|
2KB
|
48 lines
0 rem mahjong boot * rbcook * 10.93
100 ifdv<>0then130
110 dv=peek(186):ifdv<8thendv=8
120 gosub60000:load"obj.mahjong",dv,1
130 sys4608
140 poke53280,1:poke53281,1:poke198,0
150 print"[147]"tab(7)"[152][\\\\\\\\\\\\\\\\\\\\\\\]"
160 printtab(7)"# m a h j o n g [152]$[144]@"
170 printtab(7)"[152]&+++++++++++++++++++++++'[144]@"
180 printtab(7)"[152]# $[144]@"
190 printtab(7)"[152]# f1 [144]solitaire game [152]$[144]@"
200 printtab(7)"[152]# f3 [144]new tournament [152]$[144]@"
210 printtab(7)"[152]# f5 [144]restart tournament [152]$[144]@"
220 printtab(7)"[152]# f7 [144]tournament game [152]$[144]@"
230 printtab(7)"[152]# f8 [144]return to loadstar [151]$[144]@"
240 printtab(7)"[152]# $[144]@"
250 printtab(7)"[152]^!!!!!!!!!!!!!!!!!!!!!!!_[144]@"
260 printtab(7)"[144] @@@@@@@@@@@@@@@@@@@@@@@@@":ifa$="[133]"then300
270 printtab(14)"[151]player up%[150]"a+1+(a=8)*8""
280 forl=1to7step2:printtab(4)"[144]player[152]"l"[157][144]%[154]"sc(l);
290 printtab(22)"[144]player[152]"l+1"[157][144]%[154]"sc(l+1):next
300 geta$:ifa$="[133]"thensys4614:goto140
310 ifa$="[134]"thenpoke253,0:poke254,0:sys4614:forl=1to8:sc(l)=0:next:a=0:goto360
320 ifa$="[135]"thensys4614:a=0:goto360
330 ifa$="[136]"thensys4618:goto360
340 ifa$="[140]"then40000
350 goto300
360 a=a+1+(a=8)*8:sc(a)=sc(a)+peek(252)*256+peek(251):goto140
10000 open15,8,15,"s0:mahjong boot":close15:save"mahjong boot",8:end
40000 a$="hello connect":fori=8to9:close2:open2,i,2:close2:ifstthen40020
40010 close15:open15,i,15,"r0:"+a$+"="+a$:input#15,er:close15:ifer=63then40030
40020 next:print"[147]":poke2048,0:poke44,8:poke53272,23:poke186,8:end
40030 poke646,peek(53281):print"[147]load"chr$(34)a$chr$(34)","i
40040 print"run":poke44,8:poke2048,0:poke631,13:poke632,13:poke198,2:end
60000 poke53280,0:poke53281,0:print"[147]"
60010 z$=" [152] ":poke214,10:print
60020 print" [155][184][184][184][184][184][184][184][184][184][184][184][184][184][184][184][184][184][184][184][184][184][184][184][184][184][184][184][184][184][184][184][184][184][184][184][184][184][184]":fori=0to11:printz$:next
60030 print" [151][185][185][185][185][185][185][185][185][185][185][185][185][185][185][185][185][185][185][185][185][185][185][185][185][185][185][185][185][185][185][185][185][185][185][185][185][185][185][152]"
60040 z$(0)=" [205] [193] [200] [202] [207] [206] [199]":z$(1)=" by [210]obert [194]. [195]ook"
60050 z$(2)="([195]) 1994 by [211]oftdisk [208]ublishing"+chr$(13)
60060 z$(3)="[212]his program is the copyrighted work"
60070 z$(4)="of [211][207][198][212][196][201][211][203] [208][213][194][204][201][211][200][201][206][199]. [201]t is not"
60080 z$(5)="shareware or in the public domain."
60090 z$(6)="[210]eport illegal distribution of":z$(7)="this program by calling"
60100 z$(8)="1-800-831-2694 or 1-318-221-8718.":poke214,12:print
60110 fori=0to8:printtab(20-(len(z$(i))/2))""z$(i):next
60120 print"":return